package com.youlu.campus.admin.community.service;

import com.youlu.campus.admin.community.dto.CommentQueryRequest;
import com.youlu.campus.admin.community.dto.CommentResponse;
import com.youlu.campus.admin.community.dto.CommentUpdateRequest;
import org.springframework.data.domain.Page;

/**
 * 评论管理接口
 * @author: YangJ
 * @date: 2020/12/11 14:07
 */
public interface CommentService {

    /**
     * 评论列表
     * @param request
     * @return
     */
    Page<CommentResponse> commentList(CommentQueryRequest request);

    /**
     * 修改评论信息
     * @param request
     * @return
     */
    boolean updateComment(CommentUpdateRequest request);
}
